
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("FLOW_STEP")] 
     public partial class Flow_Step
    {
        public Flow_Step()
        {
            this.Flow_StepRule = new HashSet<Flow_StepRule>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("NAME")] 
     public string Name { get; set; }
        [Column("REMARK")] 
     public string Remark { get; set; }
        [Column("SORT")] 
     public int Sort { get; set; }
        [Column("FORMID")] 
     public string FormId { get; set; }
        [Column("FLOWRULE")] 
     public int FlowRule { get; set; }
        [Column("ISCUSTOM")] 
     public bool IsCustom { get; set; }
        [Column("ISALLCHECK")] 
     public bool IsAllCheck { get; set; }
        [Column("EXECUTION")] 
     public string Execution { get; set; }
        [Column("COMPULSORYOVER")] 
     public bool CompulsoryOver { get; set; }
        [Column("ISEDITATTR")] 
     public bool IsEditAttr { get; set; }
    
        public virtual Flow_Form Flow_Form { get; set; }
        public virtual ICollection<Flow_StepRule> Flow_StepRule { get; set; }
    }
}
